From 657d3fa3dde117fa2bf551861d8dabbb3089d42e Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Thu, 22 Mar 2007 17:04:55 +0000 Subject: [PATCH] Match the name change for the QCoW SR. Signed-off-by: Ewan Mellor --- tools/libxen/test/test_bindings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c index 92f2d9b6ca..1471814d81 100644 --- a/tools/libxen/test/test_bindings.c +++ b/tools/libxen/test/test_bindings.c @@ -403,7 +403,7 @@ static xen_vm create_new_vm(xen_session *session, bool hvm) * Create a new disk for the new VM. */ xen_sr_set *srs; - if (!xen_sr_get_by_name_label(session, &srs, "Local") || + if (!xen_sr_get_by_name_label(session, &srs, "QCoW") || srs->size < 1) { fprintf(stderr, "SR lookup failed.\n"); -- 2.30.2